package restaurant.service;

import java.sql.SQLException;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import restaurant.pojo.DivPage;
import restaurant.pojo.Foods;
import restaurant.pojo.FoodsType;

public interface FoodService {
	public int addFood(HttpServletRequest req) throws SQLException;
	public List<FoodsType> getAllType() throws SQLException;
	public DivPage<Foods> showFood(String pageNum, String pageSize) throws SQLException;
	public int deleFood(String id) throws SQLException;
	public int updateFood(HttpServletRequest req) throws SQLException;
	public List<Foods> findFood(String param) throws SQLException;
	
}
